<script setup>
import zh from "element-plus/es/locale/lang/zh-cn.mjs";
import { provide } from "vue";

//引入echarts
import * as echarts from "echarts";

//通过provide提供echarts
provide("echarts", echarts);
</script>

<template>
  <el-config-provider :locale="zh"
    ><RouterView></RouterView
  ></el-config-provider>
</template>

<style scoped></style>
